package com.lagou.dao;

import com.lagou.po.UserPO;
import org.apache.ibatis.annotations.Param;

/**
 * @AUTHOR: yb.feng
 * @DATE: 2020/7/1 20:52
 * @DESC:
 */
public interface UserDao {

    UserPO findByUserName(String userName);

    void saveToken(@Param("email") String email, @Param("token") String token);

    String findEmailByToken(String token);

    void saveUser(UserPO userPO);

}
